package org.zfes.snowier.cloud.zbss.pmp.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.pmp.model.PmpCloudMember;
import org.zfes.snowier.core.data.ComboboVo;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PmpCloudMemberMapper extends BaseMapper<PmpCloudMember>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<PmpCloudMember> selectModelListPage(ParamMap params);
	List<PmpCloudMember> selectByUserIds(@Param("status")Byte status,@Param("userIdList")List<Long> userIdList);
	
	int updateUserLogo(@Param("id")Long id, @Param("userLogo")String userLogo);
	int updatePositionLevel(@Param("id")Long id, @Param("positionLevel")Byte positionLevel);
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
	int updateUserType(@Param("id")Long id, @Param("userType")Byte userType);
	List<ComboboVo> selectComboboVo(@Param("status")Byte status);
}
